package week5;

import java.io.IOException;

/**
 * Created by dell on 2017/3/24.
 */
public class ExceptionTest2 {
    public static void main(String[] args){
        try {
            System.in.read();
            Thread.interrupted();
        }
        //catch(IOException | InterruptedException| ClassCastException a) {
        //catch (IOException | Exception a) {
        catch(IOException | ClassCastException a) {
            a.printStackTrace();
        }
    }
}
